package lab02.text07;

/**
 * Created by dell on 2017/10/19.
 */
public class Test {
    public static void main(String[] args) {
        Person chen=new Person();
        chen.name="wangmeng";
        chen.age=20;
        chen.idcard="12345687993423";
        System.out.println();


        Student wang=new Student();
        wang.name="wang";
        wang.age=20;
        wang.idcard="51123458993842";
        wang.sno="1606101076";
        wang.university="sctu";

        System.out.println(wang.getString());
    }


}
